#!/bin/sh

APP=qMetro
TMP=/home/user/tmp/$APP
DATADIR=/home/user/MyDocs/Data

CONFIGDIR=/home/user/.config/$APP
NEWCONFIG=$CONFIGDIR/config.conf
mkdir -p $CONFIGDIR
#move config from old to new place.
#OLDCONFIG=/home/user/$APP.ini
#if [ -f $OLDCONFIG ]; then
#  mv $OLDCONFIG $NEWCONFIG
#fi

echo "$APP> Installing data..."
mkdir -p $DATADIR
cp -rf $TMP $DATADIR
rm -rf $TMP

exit 0
